﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


class dividedBy7
{
    static void Main(string[] args)
    {
        int a;
        bool check;
        a = (Convert.ToInt32(Console.ReadLine()));
        check = (((a % 5) == 0) && ((a % 7) == 0));
        Console.WriteLine("Can be divided {0} (withouth reminder) by 7 and 5? - {1}", a, check);
    }
}

